package edu.xidian.onlinedocument.handler.excpetions.custom;

import edu.xidian.onlinedocument.views.ResultCode;

public class CustomException extends RuntimeException {
    private ResultCode exception;

    public CustomException(ResultCode exception){
        this.exception = exception;
    }

    public ResultCode getException() {
        return exception;
    }

    public void setException(ResultCode exception) {
        this.exception = exception;
    }
}
